#include "mainwindow.h"

#include <QApplication>
#include <QTranslator>
#include <QDebug>

//! [0]
int main(int argc, char *argv[])
{
    QApplication app(argc, argv);

    QTranslator translator;
    QString locale = QLocale::system().name();
    translator.load("xbmypt_" + locale);
    app.installTranslator(&translator);

    MainWindow mw;
    mw.show();

    return app.exec();
}
//! [0]
